﻿<%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%>

<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>

<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript" src="../Scripts/vender/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/_layouts/15/MicrosoftAjax.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
  
    <script type="text/javascript" src="../Scripts/vender/angular.min.js"></script>
    <script type="text/javascript" src="../Scripts/vender/angular-sanitize.min.js"></script>
    <script type="text/javascript" src="../Scripts/vender/angular-route.min.js"></script>
    <script type="text/javascript" src="../Scripts/vender/q.min.js"></script>
    <script type="text/javascript" src="../Scripts/app/appStart/app.js"></script>
    <script type="text/javascript" src="../Scripts/app/common/common.js"></script>

    <script src="../Scripts/app/services/dataMappers/announcementMapper.js"></script>
    <script type="text/javascript" src="../Scripts/app/services/models/announcementsDataContext.js"></script>

    <script src="../Scripts/app/services/api/announcementCrudSrv.js"></script>

    <script type="text/javascript" src="../Scripts/app/views/homepageCtrl.js"></script>


    <meta name="WebPartPageExpansion" content="full" />
 
</asp:Content>

<%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
     SharePoint Hosted and AngularJS Starter Project App
</asp:Content>

<%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <section data-ng-app="SpaDemo">
        <div data-ng-include="'../Scripts/app/views/homepage.html'"></div>
    </section>
</asp:Content>
